VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

number to Words ex. 234--> Two Hundred and Thirty Four Handles $,% negatives and decimals

keith fossella  (2 Submissions)   String Manipulation   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This Class will convert a variety of numbers passed as string to their long winded english couterpart. It handles currency, Decimals and percents. The range is -999,999,999,999,999 to 999,999,999,999,999. returns an error description if it occurs.

Inputs
2 parameters 1.) number as a string with or without periods, commas, percent sign, negative sign OR dollar sign 2.) true or false is this currency

Assumes
Accepts these charachters 0123456789$.,%-

Returns
returns a string (i.e 234,false returns "Two Hundred Thirty Four"

Rate number to Words ex. 234--> Two Hundred and Thirty Four Handles $,% negatives and decimals (4(4 Vote))
number to Words ex. 234--> Two Hundred and Thirty Four Handles $,% negatives and decimals.bas

number to Words ex. 234--> Two Hundred and Thirty Four Handles $,% negatives and decimals Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters